package com.basker.pisces.data.execute;

import javax.sql.DataSource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;

import com.basker.pisces.data.DynamicDataSource;

public class DynamicJdbcTemplate extends JdbcTemplate {

    @Autowired
    private DynamicDataSource dataSouce;

    @Override
    public DataSource getDataSource() {
        return dataSouce;
    }
}
